﻿@model IEnumerable<InsightAuto.Domain.Core.Brand>

<div class="toolBar">
    @Html.ActionLink("新增品牌", "Create")
    @Html.ActionLink("新增车系", "Create", "Series")
    @Html.ActionLink("新增车型", "Create", "Model")
    @Html.ActionLink("编辑", "Edit")
    @Html.ActionLink("删除", "Delete")
    <input type="text" name="keyword" size="60" value="" />
    @Ajax.ActionLink("搜索", "Search", new AjaxOptions() { HttpMethod="GET", InsertionMode= InsertionMode.Replace })
</div>
<table class="listTable">
    <thead>
        <tr class="header">
            <th style="width:20px"></th>
            <th style="width:120px">名称</th>
        </tr>
    </thead>
    <tbody>
    @foreach (var item in Model) 
    {
        <tr>
            <td>@Html.CheckBox(string.Format("checked_{0}", item.ID))</td>
            <td style="text-align:center;">@Html.DisplayFor(modelItem => item.Name)</td>
        </tr>
    }
    </tbody>
</table>
